From: Cosimo Cecchi Date: Tue, 15 Jan 2013 00:36:18 +0000 (-0500) Subject: remoteSearch: fix a typo in createIcon X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~5081 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=16a9391726913965f87a90abfa6a1aa1cbb57a4d;p=gnome-shell.git remoteSearch: fix a typo in createIcon 428876123579589a228770faab57887169fea343 changed the method to always create a GIcon, but didn't pass it down to the StIcon constructor. https://bugzilla.gnome.org/show_bug.cgi?id=691750 --- diff --git a/js/ui/remoteSearch.js b/js/ui/remoteSearch.js index 1033e5885..761d3153e 100644 --- a/js/ui/remoteSearch.js +++ b/js/ui/remoteSearch.js @@ -199,7 +199,7 @@ const RemoteSearchProvider = new Lang.Class({ bitsPerSample, width, height, rowStride); } - return new St.Icon({ gicon: Gio.icon_new_for_string(meta['gicon']), + return new St.Icon({ gicon: gicon, icon_size: size }); },